package com.cevent.yameng.web.mall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1.开启服务注册发现
 * 2.排除mybatis： exclude = {DataSourceAutoConfiguration.class}
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class YamengMallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(YamengMallGatewayApplication.class, args);
    }

}
